const AbstractError = require('./AbstractError');

function PermissionDeniedError(message, detail) {
    AbstractError.call(this, message, detail);
}
PermissionDeniedError.prototype = Object.create(Error.prototype);
PermissionDeniedError.prototype.code = 403;
module.exports = PermissionDeniedError;
